package com.hdax.dm.entity.item;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hdax.dm.entity.BaseTimeEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商品评论表
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("dm_item_comment")
public class ItemComment extends BaseTimeEntity {

    @TableId(type = IdType.AUTO)
    private Long id; //编号
    private Long itemId;//商品编号
    private Long userId;//用户编号
    private Long score;
    private String content; //评论内容
}
